package com.archstoday.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by sangxiewu on 2017/11/26.
 */

public class TopicDetailComentEntity implements Serializable {


    /**
     * msg : 成功
     * data : {"comments":{"total":2,"data":[{"replies":[{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":70497,"userImgReplied":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","commentId":13,"userNameReplied":"建闻078459552","userName":"建闻078459552","commentText":"864031036424836","userId":70497,"rootCommentId":12,"likes":0,"userIdReplied":70497}],"comment":{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":1511770655000,"commentId":12,"userName":"建闻078459552","commentText":"864031036424836","userId":70497,"likes":0,"userIdReplied":0}},{"replies":[],"comment":{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":1511770647000,"commentId":11,"userName":"建闻078459552","commentText":"864031036424836","userId":70497,"likes":0,"userIdReplied":0}}]},"hotComments":{"total":2,"data":[{"replies":[{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":70497,"userImgReplied":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","commentId":13,"userNameReplied":"建闻078459552","userName":"建闻078459552","commentText":"864031036424836","userId":70497,"rootCommentId":12,"likes":0,"userIdReplied":70497}],"comment":{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":1511770655000,"commentId":12,"userName":"建闻078459552","commentText":"864031036424836","userId":70497,"likes":0,"userIdReplied":0}},{"replies":[],"comment":{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":1511770647000,"commentId":11,"userName":"建闻078459552","commentText":"864031036424836","userId":70497,"likes":0,"userIdReplied":0}}]}}
     * status : 200
     */

    @SerializedName("msg")
    private String msg;
    @SerializedName("data")
    private DataModelXX data;
    @SerializedName("status")
    private int status;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataModelXX getData() {
        return data;
    }

    public void setData(DataModelXX data) {
        this.data = data;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public static class DataModelXX implements Serializable {
        /**
         * comments : {"total":2,"data":[{"replies":[{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":70497,"userImgReplied":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","commentId":13,"userNameReplied":"建闻078459552","userName":"建闻078459552","commentText":"864031036424836","userId":70497,"rootCommentId":12,"likes":0,"userIdReplied":70497}],"comment":{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":1511770655000,"commentId":12,"userName":"建闻078459552","commentText":"864031036424836","userId":70497,"likes":0,"userIdReplied":0}},{"replies":[],"comment":{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":1511770647000,"commentId":11,"userName":"建闻078459552","commentText":"864031036424836","userId":70497,"likes":0,"userIdReplied":0}}]}
         * hotComments : {"total":2,"data":[{"replies":[{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":70497,"userImgReplied":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","commentId":13,"userNameReplied":"建闻078459552","userName":"建闻078459552","commentText":"864031036424836","userId":70497,"rootCommentId":12,"likes":0,"userIdReplied":70497}],"comment":{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":1511770655000,"commentId":12,"userName":"建闻078459552","commentText":"864031036424836","userId":70497,"likes":0,"userIdReplied":0}},{"replies":[],"comment":{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":1511770647000,"commentId":11,"userName":"建闻078459552","commentText":"864031036424836","userId":70497,"likes":0,"userIdReplied":0}}]}
         */

        @SerializedName("comments")
        private CommentsModel comments;
        @SerializedName("hotComments")
        private HotCommentsModel hotComments;

        public CommentsModel getComments() {
            return comments;
        }

        public void setComments(CommentsModel comments) {
            this.comments = comments;
        }

        public HotCommentsModel getHotComments() {
            return hotComments;
        }

        public void setHotComments(HotCommentsModel hotComments) {
            this.hotComments = hotComments;
        }

        public static class CommentsModel implements Serializable  {
            /**
             * total : 2
             * data : [{"replies":[{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":70497,"userImgReplied":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","commentId":13,"userNameReplied":"建闻078459552","userName":"建闻078459552","commentText":"864031036424836","userId":70497,"rootCommentId":12,"likes":0,"userIdReplied":70497}],"comment":{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":1511770655000,"commentId":12,"userName":"建闻078459552","commentText":"864031036424836","userId":70497,"likes":0,"userIdReplied":0}},{"replies":[],"comment":{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":1511770647000,"commentId":11,"userName":"建闻078459552","commentText":"864031036424836","userId":70497,"likes":0,"userIdReplied":0}}]
             */

            @SerializedName("total")
            private int total;
            @SerializedName("data")
            private List<DataModel> data;

            public int getTotal() {
                return total;
            }

            public void setTotal(int total) {
                this.total = total;
            }

            public List<DataModel> getData() {
                return data;
            }

            public void setData(List<DataModel> data) {
                this.data = data;
            }

            public static class DataModel implements Serializable  {
                /**
                 * replies : [{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":70497,"userImgReplied":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","commentId":13,"userNameReplied":"建闻078459552","userName":"建闻078459552","commentText":"864031036424836","userId":70497,"rootCommentId":12,"likes":0,"userIdReplied":70497}]
                 * comment : {"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":1511770655000,"commentId":12,"userName":"建闻078459552","commentText":"864031036424836","userId":70497,"likes":0,"userIdReplied":0}
                 */

                @SerializedName("comment")
                private CommentModel comment;
                @SerializedName("replies")
                private List<RepliesModel> replies;

                public CommentModel getComment() {
                    return comment;
                }

                public void setComment(CommentModel comment) {
                    this.comment = comment;
                }

                public List<RepliesModel> getReplies() {
                    return replies;
                }

                public void setReplies(List<RepliesModel> replies) {
                    this.replies = replies;
                }

                public static class CommentModel implements Serializable  {
                    /**
                     * userImg : https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png
                     * createTime : 1511770655000
                     * commentId : 12
                     * userName : 建闻078459552
                     * commentText : 864031036424836
                     * userId : 70497
                     * likes : 0
                     * userIdReplied : 0
                     */

                    @SerializedName("userImg")
                    private String userImg;
                    @SerializedName("createTime")
                    private long createTime;
                    @SerializedName("commentId")
                    private int commentId;
                    @SerializedName("userName")
                    private String userName;
                    @SerializedName("commentText")
                    private String commentText;
                    @SerializedName("userId")
                    private int userId;
                    @SerializedName("likes")
                    private int likes;
                    @SerializedName("userIdReplied")
                    private int userIdReplied;

                    public String getUserImg() {
                        return userImg;
                    }

                    public void setUserImg(String userImg) {
                        this.userImg = userImg;
                    }

                    public long getCreateTime() {
                        return createTime;
                    }

                    public void setCreateTime(long createTime) {
                        this.createTime = createTime;
                    }

                    public int getCommentId() {
                        return commentId;
                    }

                    public void setCommentId(int commentId) {
                        this.commentId = commentId;
                    }

                    public String getUserName() {
                        return userName;
                    }

                    public void setUserName(String userName) {
                        this.userName = userName;
                    }

                    public String getCommentText() {
                        return commentText;
                    }

                    public void setCommentText(String commentText) {
                        this.commentText = commentText;
                    }

                    public int getUserId() {
                        return userId;
                    }

                    public void setUserId(int userId) {
                        this.userId = userId;
                    }

                    public int getLikes() {
                        return likes;
                    }

                    public void setLikes(int likes) {
                        this.likes = likes;
                    }

                    public int getUserIdReplied() {
                        return userIdReplied;
                    }

                    public void setUserIdReplied(int userIdReplied) {
                        this.userIdReplied = userIdReplied;
                    }
                }

                public static class RepliesModel {
                    /**
                     * userImg : https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png
                     * createTime : 70497
                     * userImgReplied : https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png
                     * commentId : 13
                     * userNameReplied : 建闻078459552
                     * userName : 建闻078459552
                     * commentText : 864031036424836
                     * userId : 70497
                     * rootCommentId : 12
                     * likes : 0
                     * userIdReplied : 70497
                     */

                    @SerializedName("userImg")
                    private String userImg;
                    @SerializedName("createTime")
                    private int createTime;
                    @SerializedName("userImgReplied")
                    private String userImgReplied;
                    @SerializedName("commentId")
                    private int commentId;
                    @SerializedName("userNameReplied")
                    private String userNameReplied;
                    @SerializedName("userName")
                    private String userName;
                    @SerializedName("commentText")
                    private String commentText;
                    @SerializedName("userId")
                    private int userId;
                    @SerializedName("rootCommentId")
                    private int rootCommentId;
                    @SerializedName("likes")
                    private int likes;
                    @SerializedName("userIdReplied")
                    private int userIdReplied;

                    public String getUserImg() {
                        return userImg;
                    }

                    public void setUserImg(String userImg) {
                        this.userImg = userImg;
                    }

                    public int getCreateTime() {
                        return createTime;
                    }

                    public void setCreateTime(int createTime) {
                        this.createTime = createTime;
                    }

                    public String getUserImgReplied() {
                        return userImgReplied;
                    }

                    public void setUserImgReplied(String userImgReplied) {
                        this.userImgReplied = userImgReplied;
                    }

                    public int getCommentId() {
                        return commentId;
                    }

                    public void setCommentId(int commentId) {
                        this.commentId = commentId;
                    }

                    public String getUserNameReplied() {
                        return userNameReplied;
                    }

                    public void setUserNameReplied(String userNameReplied) {
                        this.userNameReplied = userNameReplied;
                    }

                    public String getUserName() {
                        return userName;
                    }

                    public void setUserName(String userName) {
                        this.userName = userName;
                    }

                    public String getCommentText() {
                        return commentText;
                    }

                    public void setCommentText(String commentText) {
                        this.commentText = commentText;
                    }

                    public int getUserId() {
                        return userId;
                    }

                    public void setUserId(int userId) {
                        this.userId = userId;
                    }

                    public int getRootCommentId() {
                        return rootCommentId;
                    }

                    public void setRootCommentId(int rootCommentId) {
                        this.rootCommentId = rootCommentId;
                    }

                    public int getLikes() {
                        return likes;
                    }

                    public void setLikes(int likes) {
                        this.likes = likes;
                    }

                    public int getUserIdReplied() {
                        return userIdReplied;
                    }

                    public void setUserIdReplied(int userIdReplied) {
                        this.userIdReplied = userIdReplied;
                    }
                }
            }
        }

        public static class HotCommentsModel implements Serializable  {
            /**
             * total : 2
             * data : [{"replies":[{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":70497,"userImgReplied":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","commentId":13,"userNameReplied":"建闻078459552","userName":"建闻078459552","commentText":"864031036424836","userId":70497,"rootCommentId":12,"likes":0,"userIdReplied":70497}],"comment":{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":1511770655000,"commentId":12,"userName":"建闻078459552","commentText":"864031036424836","userId":70497,"likes":0,"userIdReplied":0}},{"replies":[],"comment":{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":1511770647000,"commentId":11,"userName":"建闻078459552","commentText":"864031036424836","userId":70497,"likes":0,"userIdReplied":0}}]
             */

            @SerializedName("total")
            private int total;
            @SerializedName("data")
            private List<DataModelX> data;

            public int getTotal() {
                return total;
            }

            public void setTotal(int total) {
                this.total = total;
            }

            public List<DataModelX> getData() {
                return data;
            }

            public void setData(List<DataModelX> data) {
                this.data = data;
            }

            public static class DataModelX {
                /**
                 * replies : [{"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":70497,"userImgReplied":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","commentId":13,"userNameReplied":"建闻078459552","userName":"建闻078459552","commentText":"864031036424836","userId":70497,"rootCommentId":12,"likes":0,"userIdReplied":70497}]
                 * comment : {"userImg":"https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png","createTime":1511770655000,"commentId":12,"userName":"建闻078459552","commentText":"864031036424836","userId":70497,"likes":0,"userIdReplied":0}
                 */

                @SerializedName("comment")
                private CommentModelX comment;
                @SerializedName("replies")
                private List<RepliesModelX> replies;

                public CommentModelX getComment() {
                    return comment;
                }

                public void setComment(CommentModelX comment) {
                    this.comment = comment;
                }

                public List<RepliesModelX> getReplies() {
                    return replies;
                }

                public void setReplies(List<RepliesModelX> replies) {
                    this.replies = replies;
                }

                public static class CommentModelX {
                    /**
                     * userImg : https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png
                     * createTime : 1511770655000
                     * commentId : 12
                     * userName : 建闻078459552
                     * commentText : 864031036424836
                     * userId : 70497
                     * likes : 0
                     * userIdReplied : 0
                     */

                    @SerializedName("userImg")
                    private String userImg;
                    @SerializedName("createTime")
                    private long createTime;
                    @SerializedName("commentId")
                    private int commentId;
                    @SerializedName("userName")
                    private String userName;
                    @SerializedName("commentText")
                    private String commentText;
                    @SerializedName("userId")
                    private int userId;
                    @SerializedName("likes")
                    private int likes;
                    @SerializedName("userIdReplied")
                    private int userIdReplied;

                    public String getUserImg() {
                        return userImg;
                    }

                    public void setUserImg(String userImg) {
                        this.userImg = userImg;
                    }

                    public long getCreateTime() {
                        return createTime;
                    }

                    public void setCreateTime(long createTime) {
                        this.createTime = createTime;
                    }

                    public int getCommentId() {
                        return commentId;
                    }

                    public void setCommentId(int commentId) {
                        this.commentId = commentId;
                    }

                    public String getUserName() {
                        return userName;
                    }

                    public void setUserName(String userName) {
                        this.userName = userName;
                    }

                    public String getCommentText() {
                        return commentText;
                    }

                    public void setCommentText(String commentText) {
                        this.commentText = commentText;
                    }

                    public int getUserId() {
                        return userId;
                    }

                    public void setUserId(int userId) {
                        this.userId = userId;
                    }

                    public int getLikes() {
                        return likes;
                    }

                    public void setLikes(int likes) {
                        this.likes = likes;
                    }

                    public int getUserIdReplied() {
                        return userIdReplied;
                    }

                    public void setUserIdReplied(int userIdReplied) {
                        this.userIdReplied = userIdReplied;
                    }
                }

                public static class RepliesModelX {
                    /**
                     * userImg : https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png
                     * createTime : 70497
                     * userImgReplied : https://archs-apires.oss-cn-beijing.aliyuncs.com/image/header.png
                     * commentId : 13
                     * userNameReplied : 建闻078459552
                     * userName : 建闻078459552
                     * commentText : 864031036424836
                     * userId : 70497
                     * rootCommentId : 12
                     * likes : 0
                     * userIdReplied : 70497
                     */

                    @SerializedName("userImg")
                    private String userImg;
                    @SerializedName("createTime")
                    private int createTime;
                    @SerializedName("userImgReplied")
                    private String userImgReplied;
                    @SerializedName("commentId")
                    private int commentId;
                    @SerializedName("userNameReplied")
                    private String userNameReplied;
                    @SerializedName("userName")
                    private String userName;
                    @SerializedName("commentText")
                    private String commentText;
                    @SerializedName("userId")
                    private int userId;
                    @SerializedName("rootCommentId")
                    private int rootCommentId;
                    @SerializedName("likes")
                    private int likes;
                    @SerializedName("userIdReplied")
                    private int userIdReplied;

                    public String getUserImg() {
                        return userImg;
                    }

                    public void setUserImg(String userImg) {
                        this.userImg = userImg;
                    }

                    public int getCreateTime() {
                        return createTime;
                    }

                    public void setCreateTime(int createTime) {
                        this.createTime = createTime;
                    }

                    public String getUserImgReplied() {
                        return userImgReplied;
                    }

                    public void setUserImgReplied(String userImgReplied) {
                        this.userImgReplied = userImgReplied;
                    }

                    public int getCommentId() {
                        return commentId;
                    }

                    public void setCommentId(int commentId) {
                        this.commentId = commentId;
                    }

                    public String getUserNameReplied() {
                        return userNameReplied;
                    }

                    public void setUserNameReplied(String userNameReplied) {
                        this.userNameReplied = userNameReplied;
                    }

                    public String getUserName() {
                        return userName;
                    }

                    public void setUserName(String userName) {
                        this.userName = userName;
                    }

                    public String getCommentText() {
                        return commentText;
                    }

                    public void setCommentText(String commentText) {
                        this.commentText = commentText;
                    }

                    public int getUserId() {
                        return userId;
                    }

                    public void setUserId(int userId) {
                        this.userId = userId;
                    }

                    public int getRootCommentId() {
                        return rootCommentId;
                    }

                    public void setRootCommentId(int rootCommentId) {
                        this.rootCommentId = rootCommentId;
                    }

                    public int getLikes() {
                        return likes;
                    }

                    public void setLikes(int likes) {
                        this.likes = likes;
                    }

                    public int getUserIdReplied() {
                        return userIdReplied;
                    }

                    public void setUserIdReplied(int userIdReplied) {
                        this.userIdReplied = userIdReplied;
                    }
                }
            }
        }
    }
}
